//
//  ZJPageContentView.h
//  ScrollPageView
//
//  Created by kepuna on 2017/4/12.
//  Copyright © 2017年 kepuna. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ZJPageContentViewDelegate;

@interface ZJPageContentView : UIView

@property (nonatomic, weak) id<ZJPageContentViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame childControllers:(NSArray *)controllers parentController:(UIViewController *)parentController;

- (void)setCurrentIndex:(NSInteger)index;

@end


@protocol ZJPageContentViewDelegate <NSObject>

@optional
- (void)pageContentView:(ZJPageContentView *)pageContentView targetIndex:(NSInteger)targetIndex;

@end
